package com.atguigu.service;

import com.atguigu.pojo.Cart;
import com.atguigu.pojo.Order;
import com.atguigu.pojo.OrderItem;
import com.sun.org.apache.xpath.internal.operations.Or;

import java.util.List;

public interface OrderService {
    public String createOrder(Cart cart,Integer userId);

    public List<Order> showAllOrders();

    public int sendOrder(String orderId);

    public List<Order> showMyOrder(Integer userId);

    public List<OrderItem> showOrderDetail(String orderId);

    public int receiverOrder(String orderId);
}
